package interceptor;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.PreResultListener;

/**
 * Created by hadoop on 17-6-26.
 * 自定义的拦截结果的监听器
 */
public class MyPreResultListener implements PreResultListener{
    @Override
    public void beforeResult(ActionInvocation actionInvocation, String s) {
        System.out.println("-----"+"自定义拦截结果监听器,逻辑视图为: "+s+"-----");
    }
}
